package resolver

// This file will be automatically regenerated based on the schema, any resolver implementations
// will be copied through when generating and any unknown code will be moved to the end.

import (
	"context"
	"fmt"

	"mall/service/wpgql/api/internal/graph/generated"
	"mall/service/wpgql/api/internal/graph/model"
)

func (r *commentResolver) Content(ctx context.Context, obj *model.Comment, format *model.PostObjectFieldFormatEnum) (*string, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *commentResolver) Parent(ctx context.Context, obj *model.Comment, where *model.CommentToParentCommentConnectionWhereArgs) (*model.CommentToParentCommentConnectionEdge, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *commentResolver) Replies(ctx context.Context, obj *model.Comment, first *int, last *int, after *string, before *string, where *model.CommentToCommentConnectionWhereArgs) (*model.CommentToCommentConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) CreateComment(ctx context.Context, input model.CreateCommentInput) (*model.CreateCommentPayload, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) DeleteComment(ctx context.Context, input model.DeleteCommentInput) (*model.DeleteCommentPayload, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) RestoreComment(ctx context.Context, input model.RestoreCommentInput) (*model.RestoreCommentPayload, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) UpdateComment(ctx context.Context, input model.UpdateCommentInput) (*model.UpdateCommentPayload, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *queryResolver) Comment(ctx context.Context, id string) (*model.Comment, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *queryResolver) Comments(ctx context.Context, first *int, last *int, after *string, before *string, where *model.RootQueryToCommentConnectionWhereArgs) (*model.RootQueryToCommentConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

// Comment returns generated.CommentResolver implementation.
func (r *Resolver) Comment() generated.CommentResolver { return &commentResolver{r} }

type commentResolver struct{ *Resolver }
